home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / pbaseiv.zip / P4DOS008.TIP < prev    next >
Text File  |  1991-12-16  |  794b  |  23 lines

  1. For years I located files on my hard disk by piping the
  2. output from CHKDSK /V through the FIND filter. Recently I
  3. stumbled across an alternate method that uses the ATTRIB
  4. command from DOS 3.3 or later versions. To find all files
  5. ending with DOC, for example, I just enter attrib c:\*.doc
  6. /s.
  7.  
  8. Gregory W. Dillon
  9. San Francisco, California
  10.  
  11. Editor's note: This neat trick is definitely a keeper; it's
  12. much more versatile than using CHKDSK /V with the FIND
  13. filter. ATTRIB's /S option searches all nested paths for
  14. files that match the search argument. For example, enter
  15. attrib c:\wp\*.txt /s to locate files ending with TXT in
  16. C:\WP plus all subdirectories nested inside.
  17.  
  18. Title: Finders Keepers
  19. Category: DOS
  20. Issue date: Jan 1991
  21. Editor: Tom Swan
  22. Supplementary files: NONE
  23.